Add external libraries and regenerate
authorFelix Krull <f_krull@gmx.de>
Sat, 29 Sep 2018 13:28:13 +0000 (15:28 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:52 +0000 (12:53 -0400)
rust-bindings/rust/conf/libostree-sys.toml
rust-bindings/rust/libostree-sys/src/lib.rs

index 059721cb520a61957b1be90eb1474c9105b8c8d9..2cc61d7b125c8464aa4f7e8b889910c189e80d7d 100644 (file)
@@ -3,5 +3,10 @@ work_mode = "sys"
 library = "OSTree"
 version = "1.0"
 target_path = "../libostree-sys"
+external_libraries = [
+   "GLib",
+   "GObject",
+   "Gio",
+]
 
 girs_dir = "../gir-files"
index 9986c8d19871bafebffca9c4d736e157256205f9..a4ab6c0b6f9bc7704e81a506a1eba468244fc432 100644 (file)
@@ -6,6 +6,9 @@
 #![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
 
 extern crate libc;
+extern crate glib_sys as glib;
+extern crate gobject_sys as gobject;
+extern crate gio_sys as gio;
 
 #[allow(unused_imports)]
 use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,